<%-- 
    Document   : createexam
    Created on : Jun 25, 2012, 11:39:39 PM
    Author     : FRIENDS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title><link rel="stylesheet" href="./themes/base/jquery.ui.all.css" />
	<script src="./scripts/jquery-1.7.2.js"></script>
	<script src="./scripts/jquery.ui.core.js"></script>
	<script src="./scripts/jquery.ui.widget.js"></script>
	<script src="./scripts/jquery.effects.core.js"></script>
	<script src="./scripts/jquery.ui.datepicker.js"></script>
	
        <script>
	$(function() {
            	$( "#startdate" ).datepicker();
                $( "#startdate" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
                $( "#startdate" ).datepicker( "option", "showAnim", "show" );
		 });
	</script>
    </head>
    <body>
        <%
        String courseid=request.getParameter("courseid");
        String userid=((AO.Login)session.getAttribute("logindata")).getUserid();
        %>
        <h2>create new exam paper for  ` <%=courseid%> `</h2>
        <form name="exam" action="createexam" >
            <table> 
                
                <tr><td>course :</td><td> <input type="text" readonly="readonly" name="courseid" value="<%=courseid%>" /></td></tr>
                <tr><td>prepared by :</td><td> <input type="text" readonly="readonly" name="userid" value="<%=userid%>" /></td></tr>
                <tr><td>exam on: </td><td><input type="text" readonly="readonly" name="examdate" id="startdate"/></td></tr>
                
                <tr><td></td><td><input type="submit" name="submit" value=" create " /></td></tr>
            </table>
        </form>
    </body>
</html>
